package com.example.sunsg.okhttptest.annotation;

import com.example.sunsg.okhttptest.bean.KeyValue;
import com.example.sunsg.okhttptest.retrofit.LoginResultBean;

/**
 * Created by sunsg on 16-4-25.
 */
public class TestReflect extends TestReflect2{
    private int age;
    private String name;
    private static LoginResultBean loginResultBean;

    public TestReflect() {
    }

    public TestReflect(String name,int age){
        this.name = name;
        this.age = age;
    }


    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    @MethodAnnotation(value = "MyName")
    public void setName(@ParamsAnnotation(value = "sunsg") String name) {
        this.name = name;
    }

    @MethodAnnotation(value = "testRetrf")
    public void testRetrf(@ParamsAnnotation(value = "var1") String retrf,@ParamsAnnotation(value = "var2") String retrf2,@ParamsAnnotation2(value = 11) int retrf3) {
        this.name = name;
    }

}
